package com.example.aimnear;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class DbInterfaceHelper extends SQLiteOpenHelper {
		
		
	protected DbInterfaceHelper(Context context) {
		//why null i don't know
		super(context, DbConstant.DB_NAME, null, DbConstant.DB_VERSION);
	}
		
	@Override
	public void onCreate(SQLiteDatabase arg0) {
		//when DB created
		arg0.execSQL(SQLqueries.CREATE_ANM_TASKS_TABLE.getQuery());
	}

	@Override
	public void onUpgrade(SQLiteDatabase arg0, int arg1, int arg2) {
		//when DB stand up 
	}

}
